package name.bingo.bing.pay.web.acid.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author [ your email ]
 * @date 2019-03-19 14:11:53
 * Created by CodeGen .
 */
@ApiModel(description = "账户")
@Data
public class AcAccount implements Serializable {

    private static final long serialVersionUID = -6615586190153069911L;

    @ApiModelProperty(value = "ID", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "客户ID", dataType = "Long")
    private Long customerId;

    @ApiModelProperty(value = "客户编码", dataType = "String")
    private String customerCode;

    @ApiModelProperty(value = "客户名称", dataType = "String")
    private String customerName;

    @ApiModelProperty(value = "账户类型", dataType = "String")
    private String accountType;

    @ApiModelProperty(value = "业务类型", dataType = "String")
    private String businessType;

    @ApiModelProperty(value = "账户责任公司ID", dataType = "Long")
    private Long companyId;

    @ApiModelProperty(value = "账户责任公司名称", dataType = "String")
    private String companyName;

    @ApiModelProperty(value = "授信额度", dataType = "java.math.BigDecimal")
    private BigDecimal creditLoanAmount;

    @ApiModelProperty(value = "允许超额额度", dataType = "java.math.BigDecimal")
    private BigDecimal negativeAmount;

    @ApiModelProperty(value = "账户可用余额", dataType = "java.math.BigDecimal")
    private BigDecimal balance;

    @ApiModelProperty(value = "账户冻结金额", dataType = "java.math.BigDecimal")
    private BigDecimal freezingAmount;

    @ApiModelProperty(value = "0-无效，1-有效", dataType = "Integer")
    private Integer isActive;

    @ApiModelProperty(value = "创建人ID", dataType = "Long")
    private Long createUserId;

    @ApiModelProperty(value = "创建人姓名", dataType = "String")
    private String createUserName;

    @ApiModelProperty(value = "修改人ID", dataType = "Long")
    private Long modifyUserId;

    @ApiModelProperty(value = "修改人姓名", dataType = "String")
    private String modifyUserName;

    @ApiModelProperty(value = "版本号", dataType = "Integer")
    private Integer versionNo;

    @ApiModelProperty(value = "扩展信息，以json存储", dataType = "String")
    private String extraJson;

    @ApiModelProperty(value = "是否处于已删除状态", dataType = "Integer")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间", dataType = "Date")
    private Date updatedAt;

}
